{extend name="layout_modal" /}
{block name="content"}
<!-- Content Header (Page header) -->
<section class="content" style="padding-top:0px;">
<div class="row">
  <div class="box">
    <!-- /.box-header -->
    <!-- form start -->
    <form role="form" action="{:url('deliver')}">
      <div class="box-body">
        <div class="form-group">
          <label for="exampleInputEmail1">客户姓名</label>
          <span class="form-control">{$info.name}</span>
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">所有者</label>
          <span class="form-control">{$info.realname}</span>
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">现在销售总监</label>
          <span class="form-control">{$info.directorname}</span>
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">转交销售总监</label>
          <select class="form-control" name="touserid">
            <option value="">请选择</option>
            {volist name=":get_model_func('AdminUser', 'list_data', ['puserid'=>$userid, 'userid'=>['neq', $info.userid]])" id="v"}
            <option value="{$v.userid}">{$v.realname}</option>
            {/volist}
          </select>
        </div>
      </div>
      <!-- /.box-body -->
      <input type="hidden" name="id" value="{$info.id}">
    </form>
  </div>
</div>
</section>
<!-- /.content -->
{/block}